net/netip.AddrPort.port (field)
6 uses
net/netip (current package)
netip.go#L1057: port uint16
netip.go#L1062: func AddrPortFrom(ip Addr, port uint16) AddrPort { return AddrPort{ip: ip, port: port} }
netip.go#L1068: func (p AddrPort) Port() uint16 { return p.port }
netip.go#L1113: ipp.port = uint16(port16)
netip.go#L1174: b = strconv.AppendUint(b, uint64(p.port), 10)
netip.go#L1197: b = strconv.AppendUint(b, uint64(p.port), 10)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |